package com.taobao.top.converter
{
	import com.taobao.top.model.Suite;
	import com.taobao.top.TOPUtil;
	public class SuiteConverter
	{
		public function SuiteConverter()
		{
		}
		
		public static function convert(suiteObj:Object):Suite
		{
			var suite:Suite = new Suite;
			suite.end_date = TOPUtil.getCustomDate(suiteObj.end_date.toString());
			suite.id = suiteObj.id;
			suite.nick = suiteObj.nick;
			suite.start_date = TOPUtil.getCustomDate(suiteObj.start_date.toString());
			suite.suite_name = suiteObj.suite_name;
			return suite;
		}
	}
}